package main

import (
	"fmt"
	"net/http"
	"net/http/httputil"
)

// 这是程序的入口
func main() {
	fmt.Println("Hello, World")

	resp, err := http.Get("http://www.imooc.com")
	if err != nil {
		panic(err)
	}

	bytes, _ := httputil.DumpResponse(resp, true)
	fmt.Printf(string(bytes))
}
